package com.xj.homework.pattern.obvserver;

public class ConcreteSubject extends Subject{

    public void doSomething() {
        for (int i = 0; i < 100; i++) {
            if (i > 98) {
                super.notifyObservers();
            }
        }
    }
}
